package com.example.test;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.ArrayList;
import java.util.List;

public abstract class MetricsRequestMixIn {

    @Schema(description = "sellerIds defined in the schema")
    @JsonDeserialize(using = CommaStringDeserializer.class)
    private List<String> metricKeys = new ArrayList<>();

    @JsonDeserialize(using = CommaStringDeserializer.class)
    private List<String> sellerIds = new ArrayList<>();

}
